<!-- You can start editing here. -->

<div class="post" id="commentArea">
<h3 id="comments">{comments_num} Response to &#8220;{post_title}&#8221;</h3>
{if $comments_num > 0}

	<ol class="commentlist">

	{for $i=0; $i<count($array); $i++}

		<li {$oddcomment} id="comment-{$array.$i->id}">
			<p class="top">	<span>{php}
								
					//timestamp template function 
					 echo date('F jS, Y',strtotime($array.$i->date));
					 			
			  {/php} <a href="#comment-{$array.$i->id}" title="">#</a></span><a href="{$array.$i->link}">{$array.$i->author}</a></p>

			<div class="body">
			
				{$array.$i->body}
				
			</div>
		</li>

		{php}$oddcomment = ( empty( $oddcomment ) ) ? 'class="alt" ' : '';{/php}

	{/for}

	</ol>
{else}
		<p class="nocomments">No comments yet.</p>
{/if}

{if $closed}
 		<p class="nocomments">Comments are closed.</p>
{else}
<div class="theform">
	<h2>Leave a Comment</h2>
		
		<form action="{blog_url}" method="post">
		
			<input type="hidden" name="action" value="addcomment">
			<input type="hidden" name="postid" value="{post_id}">
			
			<p><input type="text" name="author" id="author" class="styled" value="" size="22" tabindex="1" class="styled" />
			
			<label for="author">Name</label></p>
			
			<p><input type="text" name="email" id="email" value="" size="22" tabindex="2" class="styled" />
			
			<label for="email">Mail (will not be published)</label></p>
			
			<p><input type="text" name="link" id="url" value="" size="22" tabindex="3" class="styled" />
			<label for="url">Website</label></p>
			
			<p><textarea name="body" cols="50%" rows="9" tabindex="4" class="styled"></textarea></p>
			{akismet}
			{captcha}
			<p><input type="submit" tabindex="5" value="Submit Comment"/></p>
		
		</form>
</div>
{/if}
</div>